package cn.tedu.spring.file;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author tune_the last
 * @date 2025/11/7 - 10:30
 */
public class TestDatabase {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.file");
        Database database = context.getBean(Database.class);
        System.out.println(database);
    }
}
